home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / util / shell / SphinxExtraDocs.lha / Docs / Configuration.doc < prev    next >
Encoding:
Text File  |  1992-05-16  |  11.8 KB  |  339 lines

  1.  
  2.                   Sphinx.doc v2.5b
  3.          © 1992, Nicolas Dade. All Rights Reserved
  4.  permission is hereby granted for non-commercial duplication and distribution
  5.           doc file for the SPHINX: AmigaDOS device
  6.  last revised: May 16th, 1992
  7.  
  8.  
  9. First, to open the configuration window, press RA-C (RightAmiga-C).
  10. (If the config window is already open, this brings it to the front).
  11.  
  12. Then the various gadgets are:
  13.  
  14. In the right handle column:
  15.  
  16. [Input Text]
  17. [Wd Detail]
  18. [Wd Block]
  19.  
  20. These let you set the colors of each of these.
  21.  
  22. There are 8 color gadgets because the bottom 4 are colors 4-7 if your
  23. workbench has more than 4 colors.
  24.  
  25. Wd Detail and Wd Block colors aren't so dramatic under 2.0 as they where
  26. under 1.3.
  27.  
  28.  
  29. [Input Font]
  30. [Write Font]
  31.  
  32. These let you set the font to be used for input text or for written text.
  33. They bring up a requester which looks like:
  34.     Name _____________
  35.       Height ____
  36.     Line Height ____
  37.        [Done]       [Cancel]
  38. Enter the name of the font in the name gadget. ".font" is added to the
  39. name if it is not already present.
  40. Enter the height of the font in the height gadget.
  41. Enter the height of the lines in the window in the Line Height gadget.
  42. This is the minimum pixel height of lines, which allows you to space
  43. a scrunched font a bit if you set it to something greater than the font's
  44. height. If any of the fonts actually used (if the fonts you specify cannot
  45. be found or used, defaults are used) is taller than line height, then
  46. the height of that font is used for the line spacing.
  47.  
  48. The line height gadget in the two font requesters edits the same number.
  49.  
  50. If no name is given then a default font is found, which allows you to go
  51. back to the default by clearing the name.
  52.  
  53. The font specified must be fixed width (non-proportional). Proportional
  54. fonts are prettier but are a nightmare for the programmer (unless you dont't
  55. want speed).
  56.  
  57. NOTES:
  58. 1)the font names and heights are optional
  59. 2)these fonts are looked for and tested in this order, and the first suitable
  60.   one is used:
  61.   if a font was specified
  62.    the user's font in ram (OpenFont())
  63.    the user's font on disk (OpenDiskFont()) ; if diskfont.library not found,
  64.                         ; alert : ODFt
  65.   ; if no font is found, alert : ?FNT, where ? = W or I, depending on the
  66.   ;    font, and after the alert is canceled, continues to look for a font
  67.   ; if a font is found, but its flags are wrong, then alert : ?FFg, then
  68.   ;    continue to look for a font (it is a proportion font, or etc...)
  69.   ; if a font is found, but its width is zero, then alert : ?FWt, then
  70.   ;    continue to look for a font
  71.   then, in any case
  72.   the window's rasterport's font (rp_Font)
  73.   the window's font (IFont)
  74.   the screen's font (sc_Font)
  75.   the system default (gb_DefaultFont)
  76.   and if none of these are suitable, then Topaz/8 is checked.
  77.   ; if topaz/8 is not found, then alert : TpNF, and shutdown
  78.   ; if topaz/8's flags are wrong, then alert : TpFg, and shutdown
  79.   ; if topaz/8's width is zero, then alert : TpWt, and shutdown
  80. 3)if a font name is given, the corresponding font height MUST be given too.
  81. 4)there is nothing wrong with specifying the same font for both input and
  82.   writing.
  83. 5)both fonts must be non-proportional (proportional fonts may look nice and
  84.   be easier to read but they are much too much of a pain for the programer),
  85.   and have non-zero widths.
  86. 6)the fonts do not have to have the same width or height.
  87.  
  88.  
  89. [Y/N Options]
  90. brings up a pannel full of options which can be toggled on and off.
  91.  
  92. [C-Fn Lines]
  93. brings up a pannel which lets you edit the lines which are inserted when
  94. C-F1 through C-F10 are pressed.
  95.  
  96. [CharStrings]
  97. brings up a pannel which lets you edit the file names for clipping and
  98. inserting, the bell's sound file, the extra characters considered to
  99. be part of a word when doing various things, and the minimum length
  100. the input/search line must have before a fragment comparison will be
  101. tried.
  102.  
  103. [Buffer Size]
  104. brings up a pannel which lets you edit the size of the scroll back buffers,
  105. the size of the write save, the size of the chunk of memory, and the
  106. width of the iconized window.
  107.  
  108.  
  109. [Load Config]
  110. if arp.library can be found, opens a file requester and gets a filename
  111. from there, or else it uses the filename of the config in use (either
  112. the default config, or that specified in the opening string by
  113. /SPHINXCONFIG). In either case the config in the specified file
  114. is loaded. The config loader does do some sanity checking on the file.
  115.  
  116. [Save Config]
  117. gets a filename the same way [Load Config] does, and saves the current
  118. configuration to it.
  119.  
  120.  
  121. The across the bottom, some cycle gadgets:
  122.  
  123. [Clip To Xxxxx]
  124. Cycles throught the clipping destinations, just like RA-G does in the
  125. sphinc window. (Clip To Window=private)
  126.  
  127. [Xxxxx Cursor]
  128. Cycles through the various cursor imageries available.
  129.  
  130. [Xxxxx Clip File]
  131. Decides whether to append or to overwrite the clip file when a clip is
  132. made.
  133.  
  134. [Iconizing Allowed]
  135. Lets you turn iconizing back on if it was disabled due to a DiskInfo
  136. packet. (To keep DiskInfo packets from turning iconizing off, select
  137. the Always Allow Iconizing option).
  138.  
  139.  
  140. And now the pannels:
  141.  
  142. the Y/N Options pannel:
  143.  
  144. (options are selected when the hand is pointing to them)
  145.  
  146. Parse Inserts
  147. same as RA-P
  148.  
  149. Output Blocked
  150. same as C-S
  151.  
  152. No Automatic Scrolling
  153. same as SC-S
  154.  
  155. Ring Bell When Input Expected
  156. same as RA-B
  157.  
  158. Next Char Taken Literally
  159. same as RA-L
  160.  
  161. Lie About Window Height
  162. Sphinx tries to convince programs which inquire about the height of its
  163. window that the window is 999 lines high. This cuts down the number of
  164. times you have to press Return to get the next screen- full in programs
  165. which paginate their output.
  166. NOTE: I can't seem to fool LhA.
  167.  
  168. Half Window Scroll
  169. When the cursor goes past the bottom of the window because of text written
  170. to the window, instead of scrolling just enough to put bring it back into
  171. view, sphinx scrolls it to the center line of the window. This reduces the
  172. number of scrolls which takes place, and consiquently increases the speed
  173. of the output, and consiquently the speed of the outputting program too.
  174. Consider leaving this selected when using programs which dump many lines of
  175. output, like DiskCopy, Format, archivers, and dir/list/ls.
  176.  
  177. Center Cursor
  178. If the cursor goes out of sight because of editing in the input line, scroll
  179. enough so that the cursor is on the center line of the window, instead of
  180. just enough to bring it back into sight. This really only shows up when
  181. you have a very small window and/or a long input line.
  182.  
  183. Iconized Has Depth Gadget
  184. Adds a depth gadget to the iconized window.
  185.  
  186. Iconized Auto To Back
  187. The iconized window goes to the back automatically.
  188.  
  189. 1 Pixel Thicker Borders
  190. Adds a 1 pixel blank border around the text area. This is usefull with WB2.0
  191. since the 2.0 window borders touch the text if this is not selected, and
  192. that is not always pretty.
  193.  
  194. Monochrome Text Area
  195. This forces all color change control codes to be ignored (they are saved,
  196. so if/when you unselect this the output comes out as it really is supposed
  197. to be) , and the color of the input lines to be color 1, etc... .
  198. The idea is that since everything is color 1 on color 0, only bitplane 0
  199. has to be written to and scrolled when rendering in the text area, which
  200. speeds things up. This option alone will almost double the scrolling
  201. speed of the window for one-line scrolls (C-UP and C-DOWN) since it
  202. halves the amount of data which has to be moved (assuming 4 color wb).
  203. (things get even better with 8 and 16 color WBs).
  204.  
  205. Always Allow Iconizing
  206. DiskInfo packets do not disable iconizing.
  207.  
  208.  
  209. the C-Fn Lines pannel
  210.  
  211. C-F1
  212. the text which is inserted at the cursor when C-F1 is pressed.
  213.  
  214. C-F2
  215. must I explain all of these? I don't think so.
  216. .
  217. .
  218. .
  219. C-F10
  220. stll the same.
  221.  
  222.  
  223. the CharStrings pannel:
  224.  
  225. Initial File Names
  226.  
  227. Clip File
  228. this is the file to which file clips are written.
  229.  
  230. Insert File
  231. this is the file from which file inserts are read. If you have the
  232. arp.library then this is the filename you are first promted with.
  233.  
  234. Bell Sound File
  235. this is the full path+file name of an iff one-shot 8 bits/sample
  236. file that is loaded and played when the first BELL (ctrl-G) is written
  237. (Write()) to any SPHINX window. thereafter the file is not reloaded, even if
  238. the window that caused it to load is closed; the file is shared between
  239. SPHINX's with the same BELLFilename in their configuration. This will allow
  240. you save CHIP ram if you have differently configured SPHINXs, since, if you
  241. specify the same Bell Sound file name they will all use the same sample and
  242. you won't have various copies lying around in CHIP ram.
  243. This is optional, and if this line is blank, then DisplayBeep() is called
  244. when a BELL is found, like CON: and NEWCON:.
  245.  
  246. Extra Characters Allowed in a Word
  247. these four next gadgets allow you to specify characters which, in addition
  248. to a through z and A through Z, are considered to be part of a word when
  249. performing various operations.
  250.  
  251. Move L/R a Word
  252. i.e. ALT-LEFT or RIGHT
  253.  
  254. Delete a Word
  255. i.e. ALT-BACKSPACE or DELETE
  256.  
  257. Clip a Word
  258. i.e. double-clicking with the mouse on a word
  259.  
  260. Finish a Word
  261. i.e. RightAmiga-W
  262.  
  263. Min Lngth for Fragment Comparison
  264. minimun length of an input/search line must have before the fragment
  265. comparison will be tried. This is controlable because the fragment
  266. comparison, when given a small fragment, will tend to match a lot of
  267. lines which aren't the one you're looking for (i.e. given one character
  268. it will give back very line which contains that character), so it is
  269. usually not good to use it for very short lines, hence this config
  270. option.
  271. Setting this to 1 causes the fragment conparison to always be tried, as
  272. you might think.
  273. Setting this to something larger than 256 effectively disables the fragment
  274. comparison, since the input lines cannot be longer than 256 characters.
  275.  
  276. the Buffer Size pannel:
  277.  
  278. Min X to Save
  279. at least is many or much of the specified thing will be kept in the
  280. scrollback buffer. In other words, sphinx will start deleting when input
  281. saves when more than <KBytes of Input> kbytes of input and more than
  282. <Input Saves> input saves are in the buffer.
  283.  
  284. KBytes of Input
  285. memory used to store the input saves.
  286.  
  287. Input Saves
  288. number of old input lines
  289.  
  290. KBytes of Write
  291. memory used to store the written text.
  292.  
  293. Write Saves
  294. blocks of written text between input lines, or 32K, whichever comes first.
  295.  
  296. Setting these to 0 effectively disables buffering for that type of text--
  297. the text will be lost once it scrolls off the top of the window.
  298.  
  299. Setting these to 32767 gives you 32 Megs of buffer, which is a reasonable
  300. approximation to infinity as far as sphinx is concerned.
  301.  
  302. (Current)
  303. shows the KBytes or number currently in the buffer.
  304.  
  305. Min Size of
  306. this gives the minimum size of the object specified, in KBytes
  307.  
  308. Write Save
  309. the "buffer" for the written text which goes between the previous
  310. input line and the input line being constructed. It is best if this
  311. is about the same size as the amout of text outputed between input
  312. lines. If it is smaller than a single Write() then a larger size is
  313. used, and the largest of those sizes is displayed in the (Reached)
  314. column, but multiple small Write()s will give you many small
  315. writesaves.
  316. WARNING: This must not he set to larger than 31K!!!
  317.  
  318. Memory Chunk
  319. Sphinx takes memory from the system's free memory list in chunks, and
  320. then used each chunk in little pieces using its own, internal, free-
  321. memory-in-the-chunks memory handler (this also lets sphinx to things
  322. which are illegal with the AllocMem()/FreeMem() calls, like free
  323. the tail of a too large alloc). This gadget lets you set the size
  324. of the chunks.
  325. This is usefull if you are trying to keep sphinx from fragmenting
  326. your memory: let sphinx use very large chunks (64K) and it won't
  327. need to take very many.
  328. If the chunk size is too small for the amount of memory sphinx needs,
  329. sphinx will allocate a chunk which has exactly the needed size. The
  330. size of the largest of such chunks is displayed in the (Reached) column.
  331.  
  332. Iconized Wd Width
  333. width if iconized window in pixels. If you specify 1 you'll get a _very_
  334. thin window, which is quite hard to click on if you don't have a magnifying
  335. lens program running. You cannot specify something too large.
  336.  
  337.  
  338.  
  339.